package cn.seaboot.admin.store.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.Size;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * POJO
 * UI-表格 [t_store_table]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "UI-表格前端表格配置 [t_store_table] 实体类")
public class StoreTable implements Serializable {

    private static final long serialVersionUID = -8465319828537758465L;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 项目ID
     */
    @Size( max = 32)
    @Schema(description = "项目ID")
    private String projectId;
    /**
     * 表名
     */
    @Size( max = 32)
    @Schema(description = "表名")
    private String name;
    /**
     * 表格类型
     */
    @Size( max = 16)
    @Schema(description = "表格类型")
    private String type;
    /**
     * 地址
     */
    @Size( max = 32)
    @Schema(description = "地址")
    private String url;
    /**
     * 请求方式
     */
    @Size( max = 32)
    @Schema(description = "请求方式")
    private String method;
    /**
     * 是否分页
     */
    @Schema(description = "是否分页")
    private Boolean isPage;
    /**
     * 功能描述
     */
    @Size( max = 128)
    @Schema(description = "功能描述")
    private String description;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Boolean getIsPage() {
        return isPage;
    }

    public void setIsPage(Boolean isPage) {
        this.isPage = isPage;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
